﻿#region Copyright (C) Sector7 Software Studio. All rights reserved
/*******************************************************************************************
 * Creation
 *      Author:         Wolf Lai
 *      Date:           2013/7/14 星期日 13:51:17
 *      Version:        
 * Modification 
 *      Author: 
 *      Date: 
 *      Description: 
 *      Version:
 *******************************************************************************************/
#endregion
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

namespace Sector7.Framework.Enums
{
    /// <summary>
    /// 数据库字段类型
    /// </summary>
    public enum DBFieldType : int
    {
        /// <summary>
        /// 普通字段
        /// </summary>
        Normal = 1 << 0,

        /// <summary>
        /// 主键
        /// </summary>
        PrimaryKey = 1 << 1,

        /// <summary>
        /// 外键
        /// </summary>
        ForeignKey = 1 << 2,

        /// <summary>
        /// 自增长主键
        /// </summary>
        AutoIncrement = 1 << 3,
    }
}
